NSURLConnection objects allow you to load the contents of a url by providing a URL request object.There are two ways of use of NSURLConnection class one is asynchronous and second is synchronous . In asynchronous connection request create a new thread and performs it download process on new thread so that it not block the main thread .In synchronous connection run on main thread while downloading content and doing its communication .
Liked By
Write Answer
What is NSURLConnection class in iOS?
Join MindStick Community
You have need login or register for voting of answers or question.
Sunil Singh
10-Jan-2017NSURLConnection objects allow you to load the contents of a url by providing a URL request object.There are two ways of use of NSURLConnection class one is asynchronous and second is synchronous . In asynchronous connection request create a new thread and performs it download process on new thread so that it not block the main thread .In synchronous connection run on main thread while downloading content and doing its communication .